import routerView from '@/components/pubComp/routerView'

const pre = 'inspectionPlan-'
export default {
  path: '/inspectionPlan',
  name: 'inspectionPlan',
  meta: {
    title: '巡视计划',
  },
  redirect: {
    name: `${pre}index`,
  },
  component: routerView,
  children: [
    {
      path: 'index',
      name: `${pre}index`,
      meta: {
        title: '巡检计划主页面',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/inspectionPlan/index'),
    },
    {
      path: '/faultRepair/index',
      name: `index`,
      meta: { title: '故障报修主页面',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/faultRepair/index.vue'),
    },
    {
      path: '/materialReturn/index',
      name: `index`,
      meta: {
        title: '资产归还首页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/materialReturn/index.vue'),
    },
    {
      path: 'inspectionView',
      name: `${pre}inspectionView`,
      meta: {
        title: '巡检计划详情页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/inspectionPlan/inspectionView'),
    },
    {
      path: '/inspectionPlan/inspectionEdit',
      name: `${pre}inspectionView`,
      meta: {
        title: '巡检计划报修页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/inspectionPlan/inspectionEdit'),
    },
    {
      path: '/faultRepair/inspectionEdit',
      name: 'inspectionEdit',
      meta: {
        title: '设备报修页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/faultRepair/inspectionEdit'),
    },
    {
      path: '/inspectionPlan/inspectionHistory',
      name: 'inspectionHistory',
      meta: {
        title: '巡视历史页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/inspectionPlan/inspectionHistory'),
    },
    {
      path: '/inspectionPlan/inspectionRepairHistory',
      name: 'inspectionRepairHistory',
      meta: {
        title: '巡视历史页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/inspectionPlan/inspectionRepairHistory.vue'),
    }, {
      path: '/materialReturn/NaihuanCk',
      name: 'NaihuanCk',
      meta: {
        title: '退还仓库页',
        closable: false,
      },
      component: () => import('@/views/srvAssurance/materialReturn/NaihuanCk'),
    },

    {
      path: '/materialMoving/index',
      name: 'index',
      meta: { title: '资产搬家首页',closable: false, },
      component: () => import('@/views/srvAssurance/materialMoving/index.vue'),
    },
    {
      path: '/coordinateAcquisition/index',
      name: 'coordinateAcquisition',
      meta: { title: '楼宇坐标采集主页面',closable: false, },
      component: () => import('@/views/srvAssurance/coordinateAcquisition/index.vue'),
    },

  ],
}
